package com.tools.utils.verify;

import java.awt.image.BufferedImage;
import java.io.Serializable;

/**
 * @Author LY
 * @create 2023/9/1 14:36
 * @Description 验证VO
 */
public class VerifyCodeVo implements Serializable {

    /**
     * 验证码图片
     */
    private BufferedImage image;
    /**
     * 验证码计算结果
     */
    private int expResult;

    public VerifyCodeVo(){}
    public VerifyCodeVo(BufferedImage image, int expResult){
        this.image = image;
        this.expResult = expResult;
    }

    public BufferedImage getImage() {
        return image;
    }

    public void setImage(BufferedImage image) {
        this.image = image;
    }

    public int getExpResult() {
        return expResult;
    }

    public void setExpResult(int expResult) {
        this.expResult = expResult;
    }
}
